<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

    <Color x:Key="PathButtonBorderColorOne">#FFC0C0C0</Color>
    <Color x:Key="PathButtonBorderColorTwo">#FF909090</Color>

    <LinearGradientBrush x:Key="PathButtonBorderBrush" StartPoint="0,0" EndPoint="1,1" Opacity="1">
        <GradientStop Color="{StaticResource PathButtonBorderColorOne}" Offset="0" />
        <GradientStop Color="{StaticResource PathButtonBorderColorTwo}" Offset="1" />
    </LinearGradientBrush>

    <CornerRadius x:Key="PathButtonCornerRadius">10</CornerRadius>

    <Style x:Key="PathButton" TargetType="{x:Type Button}">
        <Setter Property="OverridesDefaultStyle" Value="true" />
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Button}">
                    <Grid Background="#00000000" x:Name="NavigationButton">
                        <Border x:Name="Border1" BorderBrush="Transparent" BorderThickness="1" Padding="5" CornerRadius="{StaticResource PathButtonCornerRadius}">
                            <ContentPresenter Name="ButtonContent" Opacity="0.7" />
                        </Border>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsMouseOver" Value="true">
                            <Setter TargetName="ButtonContent" Property="Opacity" Value="1.0" />
                            <Setter TargetName="Border1" Property="BorderBrush" Value="{StaticResource PathButtonBorderBrush}" />
                        </Trigger>
                        <Trigger Property="IsPressed" Value="true">
                            <Setter TargetName="ButtonContent" Property="Opacity" Value="0.4" />
                        </Trigger>
                        <Trigger Property="IsEnabled" Value="false">
                            <Setter TargetName="ButtonContent" Property="Opacity" Value="0.2" />
                            <Setter TargetName="Border1" Property="BorderBrush" Value="Transparent" />
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

</ResourceDictionary>
